package com.glodon.paas.account.service.util;

import java.util.HashMap;
import java.util.Map;

import org.springframework.security.oauth2.provider.BaseClientDetails;

public class PaasRegisteredClientImpl extends BaseClientDetails {

	public void setDescription(String description){
		Map<String,String> map = new HashMap<String,String>();
		map.put("description", description);
		this.setAdditionalInformation(map);
	}
	
	public String getDescription(){
		Map<String,Object> map = this.getAdditionalInformation();
		return (String)map.get("description");
	}
}
